package com.cgbl.service.vm

import android.app.Application
import com.robot.base.base.vm.GLBaseViewModel
import com.robot.base.configs.AppConstants
import com.robot.base.util.arouter.ARouterUtil
import me.goldze.mvvmhabit.binding.command.BindingAction
import me.goldze.mvvmhabit.binding.command.BindingCommand
import me.goldze.mvvmhabit.bus.event.SingleLiveEvent

class MessageFragmentViewModel(application: Application) : GLBaseViewModel(application) {

    val uc = UIChangeEvent()

    val clickAddFunctionCommand = BindingCommand<Any>(BindingAction {
        uc.showAddFunctionEvent.call()
    })

    class UIChangeEvent {

        val showAddFunctionEvent = SingleLiveEvent<Void>()

    }

}